package com.xx.mapper;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.xx.entity.Suppliers;

/**
* @author yun
* @description 针对表【suppliers】的数据库操作Mapper
* @createDate 2024-12-05 15:21:17
* @Entity com.xx.entity.Suppliers
*/
@Mapper
public interface SuppliersMapper {

    List<Suppliers> selectAllBySupplierNameAndContactPhone(
            @Param("supplierName") String supplierName,
            @Param("contactPhone") String contactPhone);
    int insertAll(Suppliers suppliers);

    int updateById(Suppliers suppliers);

    int deleteById(@Param("supplierId") Integer supplierId);
}
